<?php
class HackerU_Autoloader
{
	public function __construct()
	{
		
	}
	
	public static function init()
	{
		function __autoload($className)
		{
			$pathToClass = '';
			$classPartsArr = explode('_', $className);
			$ds = DIRECTORY_SEPARATOR;
			foreach ($classPartsArr as $path){
				if($pathToClass){
					$pathToClass .= $ds;
				}
				$pathToClass .= $path;
			}
			require_once $pathToClass.'.php';
		}
	}
}